package com.csc.bankingsystem.core.dto;

import com.csc.bankingsystem.core.enumeration.AccountInfoStateEnum;
import com.csc.bankingsystem.core.enumeration.AccountInfoTypeEnum;

/**
 * AccountInfo Data Transfer Object
 * 
 * @author angelkid
 * 
 */
public class AccountInfoDTO {
	private long id;
	private String number;
	private String idCardNumber;
	private String firstName;
	private String lastName;
	private String midName;
	private String phoneNumber1;
	private String phoneNumber2;
	private String address1;
	private String address2;
	private String email1;
	private String email2;
	private Long amount;
	private AccountInfoTypeEnum accountType;
	private AccountInfoStateEnum state;
	private Long userInfoId;

	public AccountInfoDTO() {

	}

	// public AccountInfoDTO(AccountInfo accountInfo) {
	// super();
	// this.id = accountInfo.getId();
	// this.number = accountInfo.getNumber();
	// this.idCardNumber = accountInfo.getIdCardNumber();
	// this.firstName = accountInfo.getFirstName();
	// this.lastName = accountInfo.getLastName();
	// this.midName = accountInfo.getMidName();
	// this.phoneNumber1 = accountInfo.getPhoneNumber1();
	// this.phoneNumber2 = accountInfo.getPhoneNumber2();
	// this.address1 = accountInfo.getAddress1();
	// this.address2 = accountInfo.getAddress2();
	// this.email1 = accountInfo.getEmail1();
	// this.email2 = accountInfo.getEmail2();
	// this.accountType = accountInfo.getAccountType();
	// this.state = accountInfo.getState();
	// this.userInfoId = (accountInfo.getUserInfo()!=
	// null)?accountInfo.getUserInfo().getId():null;
	// }

	public AccountInfoDTO(long id, String number, Long amount) {
		super();
		this.id = id;
		this.number = number;
		this.amount = amount;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public String getIdCardNumber() {
		return idCardNumber;
	}

	public void setIdCardNumber(String idCardNumber) {
		this.idCardNumber = idCardNumber;
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public String getMidName() {
		return midName;
	}

	public void setMidName(String midName) {
		this.midName = midName;
	}

	public String getPhoneNumber1() {
		return phoneNumber1;
	}

	public void setPhoneNumber1(String phoneNumber1) {
		this.phoneNumber1 = phoneNumber1;
	}

	public String getPhoneNumber2() {
		return phoneNumber2;
	}

	public void setPhoneNumber2(String phoneNumber2) {
		this.phoneNumber2 = phoneNumber2;
	}

	public String getAddress1() {
		return address1;
	}

	public void setAddress1(String address1) {
		this.address1 = address1;
	}

	public String getAddress2() {
		return address2;
	}

	public void setAddress2(String address2) {
		this.address2 = address2;
	}

	public String getEmail1() {
		return email1;
	}

	public void setEmail1(String email1) {
		this.email1 = email1;
	}

	public String getEmail2() {
		return email2;
	}

	public void setEmail2(String email2) {
		this.email2 = email2;
	}

	public AccountInfoTypeEnum getAccountType() {
		return accountType;
	}

	public void setAccountType(AccountInfoTypeEnum accountType) {
		this.accountType = accountType;
	}

	public AccountInfoStateEnum getState() {
		return state;
	}

	public void setState(AccountInfoStateEnum state) {
		this.state = state;
	}

	public Long getUserInfoId() {
		return userInfoId;
	}

	public void setUserInfoId(Long userInfoId) {
		this.userInfoId = userInfoId;
	}

	public Long getAmount() {
		return amount;
	}

	public void setAmount(Long amount) {
		this.amount = amount;
	}

}
